package design.patterns.factorymode.factorysimple;

/**
 * @Desc:
 * @author: cww
 * @DateTime: 2020-06-07 20:27
 */

public class SquareMain {
    public static void main(String[] args) {
        ArtTracer art = new ArtTracer();
        try {
            ArtTracer.factory("circle");
            ArtTracer.factory("Square");
            ArtTracer.factory("triangle");
            ArtTracer.factory("xxx");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
